Skip to content

Instantly share code, notes, and snippets.

@Wind010
Wind010 / backup_pwnagotchi.ps1
Last active May 9, 2024 09:03
Powershell scripts to backup and restore a pwnagotchi
# Script to backup your pwnagotchi.
# Usage:
# backup_pwnagotchi.ps1 <ip_address_of_pwnagotchi>
# The <ip_address_of_pwnagotchi> should be the static ip address set previously (10.0.0.2).
# Can setup SSH keys to bypass password prompt for SCP.
param(
[Parameter(Mandatory=$true, Position=0, ValueFromPipeline=$false)]
[string]
@liuran001
liuran001 / config.yaml
Last active May 9, 2024 09:03
mihomo (Clash Meta) 懒人配置
# mihomo (Clash Meta) 懒人配置
# 版本 V1.5-240507
# https://gist.github.com/liuran001/5ca84f7def53c70b554d3f765ff86a33
# https://obdo.cc/meta
# 作者: 笨蛋ovo (bdovo.cc)
# Telegram: https://t.me/baka_not_baka
# 关注我的 Telegram 频道谢谢喵 https://t.me/s/BDovo_Channel
# 修改自官方示例规则 https://wiki.metacubex.one/example/#meta
# 转载请保留此注释
# 尽量添加了较为详尽的注释,不理解的地方建议对照 虚空终端 (Clash Meta) Docs 进行理解
@tjohander-splunk
tjohander-splunk / JVM-App-As-A-Systemd-Service.md
Last active May 9, 2024 09:02
Getting a Java app to run as a Systemd service on Linux

Run a JVM App as a Systemd Service:

In a sane systemd path (/etc/systemd/system/ or /usr/lib/systemd/system) Create a Systemd service definition file called

<your-cool-service-name>.service

following this pattern:

[Unit]
Description=webserver Daemon
@akufikri
akufikri / code country
Created May 9, 2024 08:21
🚀 JSON Array For Code Country
{
"countries": [
{
"name": "Afghanistan",
"country_code": "+93",
"flag_emoji": "🇦🇫"
},
{
"name": "Albania",
"country_code": "+355",
@dhh
dhh / linux-setup.sh
Last active May 9, 2024 08:58
linux-setup.sh
# CLI
sudo apt update -y
sudo apt install -y \
git curl \
docker.io docker-buildx \
build-essential pkg-config autoconf bison rustc cargo clang \
libssl-dev libreadline-dev zlib1g-dev libyaml-dev libreadline-dev libncurses5-dev libffi-dev libgdbm-dev libjemalloc2 \
libvips imagemagick libmagickwand-dev mupdf mupdf-tools \
redis-tools sqlite3 libsqlite3-0 libmysqlclient-dev \
rbenv apache2-utils
@phith0n
phith0n / fpm.py
Last active May 9, 2024 08:50
Fastcgi PHP-FPM Client && Code Execution
import socket
import random
import argparse
import sys
from io import BytesIO
# Referrer: https://github.com/wuyunfeng/Python-FastCGI-Client
PY2 = True if sys.version_info.major == 2 else False
@rxaviers
rxaviers / gist:7360908
Last active May 9, 2024 08:47
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
@Bilbottom
Bilbottom / er-diagram.mermaid
Last active May 9, 2024 08:47
Mermaid + DuckDB for generating entity-relationship diagrams
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.